<#--
/****************************************************
 * Description: 角色的简单列表页面，没有编辑功能
 * Copyright:   Copyright (c) 2013
 * Company:     beiwaionline
 * @author      bfsu
 * @version     1.0
 * @see
	HISTORY
    *  2013-08-08 bfsu Create File
**************************************************/
-->
<#include "/view/templates/ace/ace-inc.ftl">
<@input id='notingroup'  url='${base}/components/security/groupRole/addRole/${groupId}/'> 
<@list id='notingroup' >
    <thead>
        <tr>
           <th><input type="checkbox" class="bscheckall"></th>
            <th>角色名称</th>
            <th>角色代码</th>
            <th>角色描述</th>
            <th>是否可用</th>
            <th>是否系统角色</th>
        </tr>
    </thead>
    <tbody>
    <#if page.items??>
        <#list page.items as item>
        <tr>
            <td><input type="checkbox" name='roleIds' value='${item.id}' class="bscheck" data="id:${item.id}"></td>
            <td>
                ${item.title}
            </td>
            <td>
                ${item.code}
            </td>
            <td>
                ${item.description}
            </td>
            <td>
            	${getIntText(item.isEnabled)}
            </td>
            <td>
            	${getIntText(item.isSys)}
            </td>
        </tr>
        </#list>
        </#if>
    </tbody>
</@list>
</@input>